package com.softline.documentsmall.dao;

import com.softline.documentsmall.entity.ZsIndexInformation;
import com.softline.documentsmall.entity.ZsIndexInformationDetailVo;
import com.softline.documentsmall.entity.ZsIndexInformationListVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 指数资讯mapper
 * @author zhongweicheng
 * @DATE 2021-03-16
 */
public interface ZsIndexInformationMapper {

    //分页查询
    List<ZsIndexInformationListVo>  findZsIndexInfo(@Param("languageType") String languageType);

    //更新

    boolean updateZsIndexInfo(@Param("zsIndexInformation") ZsIndexInformation zsIndexInformation);

    //新增

    boolean insertZsIndexInfo(@Param("zsIndexInformation") ZsIndexInformation zsIndexInformation);

    //删除
    boolean deleteZsIndexInfoById(@Param("id") Integer id);
    //总条数
    Long getTotal();

    ZsIndexInformationDetailVo getById(@Param("id")Integer id,@Param("languageType") String languageType);

    List<ZsIndexInformationListVo> getMoreDetail(@Param("languageType") String languageType);
}
